<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>学习表单控件</title>
</head>
<body>
    <form action="demo2.html">
        文本框: <input type="text" name="text1"><br/>
        性别: <input type="radio" name="gender" id="male" value="0"><label for="male">男</label>
              <input type="radio" name="gender" id="female" value="1"><label for="female">女</label><br/>
        复选框: <input type="checkbox" name="name2" id="2" value="1"><label for="2">篮球</label>
               <input type="checkbox" name="name2" id="3" value="2"><label for="3">足球</label>
               <input type="checkbox" name="name2" id="4" value="3"><label for="4">羽毛球</label>
               <input type="checkbox" name="name2" id="5" value="4"><label for="5">乒乓球</label><br/>
        密码: <input type="password" name="name3"><br/>
        按钮: <input type="submit" value="提交">
    </form>

    
</body>
</html>